package com.tengju.support.domain.service;

import com.tengju.support.domain.model.robot.FeiShuRobotSendMsgForm;
import com.tengju.support.domain.model.robot.FeiShuRobotSendMsgV2Form;
import com.tengju.support.domain.model.robot.FeiShuRobotUploadImgForm;

import java.io.IOException;

public interface FeiShuRobotBaseService {

    String getAccessToken(String appId, String appSecret);

    Boolean sendMsg(FeiShuRobotSendMsgForm sendMsgForm);

    Boolean sendMsgV2(FeiShuRobotSendMsgV2Form sendMsgForm);

    String uploadImage(FeiShuRobotUploadImgForm uploadImgForm) throws IOException;
}
